

import { createApp } from 'vue'
import { createPinia } from 'pinia'
import '@/assets/base.css'
import '@/assets/icon/iconfont.css'
import App from './App.vue'
import router from './router'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import vueEsign from 'vue-esign'
app.use(createPinia())
app.use(router)
app.use(vueEsign)
app.use(ElementPlus,{size:'small',zIndex:3000})
app.mount('#app')


let clientWidth = ()=>document.documentElement.clientWidth;
let clientHeight = () => document.documentElement.clientHeight;
document.querySelector('body').style.width = clientWidth()+'px';
document.querySelector('body').style.height = clientHeight()+'px';
